<template>
  <div class="form-separator">
    <span>{{ _displayName || ''}}</span>
    <!-- <i class="iconfont icon-caret-down"></i> -->
  </div>
</template>

<script>
import FormMixin from '@src/component/form/mixin/form'
import translate from '@src/component/form/mixin/translate.js'
export default {
  name: 'form-separator',
  mixins: [FormMixin, translate],
  props: {
    field: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>

<style lang="scss">
.form-separator{
  padding: 8px 12px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  @include fontColor();

  & > span{
    color: $text-color-main;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }

  i {
    font-size: 12px;
    color: $text-color-main;
  }
}
</style>
